package org.jeecg.modules.procedure.service.impl;

import org.jeecg.modules.procedure.entity.Proc;
import org.jeecg.modules.procedure.entity.ProcVo;
import org.jeecg.modules.procedure.mapper.ProcMapper;
import org.jeecg.modules.procedure.service.IProcService;
import org.springframework.stereotype.Service;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;

import java.util.List;

/**
 * @Description: 工序表
 * @Author: jeecg-boot
 * @Date:   2020-07-16
 * @Version: V1.0
 */
@Service
public class ProcServiceImpl extends ServiceImpl<ProcMapper, Proc> implements IProcService {

    @Override
    public List<Proc> getProcByUserName(String procName,String userName,String isAll) {
        return baseMapper.getProcByUserName(procName,userName,isAll);
    }

    @Override
    public List<ProcVo> findProcByframe(String frameId, String userName) {
        return baseMapper.findProcByframe(frameId,userName);
    }
}
